/**
条件语句
*/
package main

import "fmt"

func main() {

	var s string
	s="hello"

	if num := 11; num%2 == 0 { //checks if number is even
		fmt.Println(num, "is even")
	} else {
		fmt.Println(num, "is odd")
	}

	if str := s; str == "hello" {
		fmt.Println(str, "is Hello")
	} else {
		fmt.Println(str, "is Other")
	}
}
